package studio.raptor.databus.client;

/**
 * Created on 2017/5/25  <br>
 * <p>
 * 队列客户端配置类，包含连接服务端的基本信息，用户名，密码，服务URL<br>
 * <p>另持有常量：虚拟主题名称前缀、组消费目的地名称前缀</p>
 *
 * @author koalton
 */
public final class DatabusConfig {
    public static final String VIRTUAL_TOPIC_PRE = "VirtualTopic.";
    public static final String GROUP_QUEUE_NAME_PRE = "Consumer.";
    private String userName;
    private String password;
    private String brokerURL;
    public DatabusConfig(String userName, String password, String brokerURL) {
        this.userName = userName;
        this.password = password;
        this.brokerURL = brokerURL;
    }
    public String getUserName() {
        return userName;
    }
    public void setUserName(String userName) {
        this.userName = userName;
    }
    public String getPassword() {
        return password;
    }
    public void setPassword(String password) {
        this.password = password;
    }
    public String getBrokerURL() {
        return brokerURL;
    }
    public void setBrokerURL(String brokerURL) {
        this.brokerURL = brokerURL;
    }
}
